home *** CD-ROM | disk | FTP | other *** search
- # net.rc from dc1ik.ampr.org
- #### Slattach if you want to 'bind' the WAMPES-System to the UNIX-TCP/IP:
- #### ! slattach /dev/ttype 2400 &
- esc
- hostname myhostname
- ax25 my myax25call
- ip a 44.130.41.10
- # /* change it! */
- #
- # asy attaches
- # (my configuration)
- # com2, Port /dev/tty01, ax25 Interface, interface-name *must* be /dev - Name,
- # 8192 byte buffer, 256 bytes MTU, 9600 baud, ip-address myipaddress
- #
- att asy /dev/tty01 0 ax25 tty01 8192 256 9600 44.130.41.10
- #
- # com3
- att asy /dev/tty02 0 ax25 tty02 8192 256 9600 44.130.41.10
- #
- #
- # IPC Interface, to enable 2 net's to speak together (only with bridge started!)
- # /tcp/util/bridge listenes on socket 4713 to bind some net's together link a
- # loopback-link via two TNC's
- # It also enables two net's to connect to via ethernet (change 127.0.0.1 with
- # the appropriate ip address)
- #
- # att asy 0 127.0.0.1:4713 ax25 ipc0 1024 460 9600 44.130.41.10
- #
- # Attach to an pty for special programs... like pe1chl running in the background
- # (or old ka9q 890421.1)
- # NOTE: you have to start the other program first, works very well in my config
- # with pe1chl-soft for unix
- #
- # att asy /dev/ptypa 0 ax25 ptypa 2048 256 9600 44.130.41.10
- #
- # This is special... if slattach is startet on /dev/ttype (first line of this
- # file) you may route from unix<->packet!
- #
- # att asy /dev/ptype 0 slip ptype 2048 256 2400 44.130.41.10
- #
- ################# NOTE !
- # Name your interface as the /dev-file, otherwise it may cause problems.
- # So no aliasing like 'ax0' for /dev/tty01 is possible.
- #
- # this if you made the slattach trick:
- #
- # ro add myunixhostip ptype myunixhostip
- # ^^in my case this is dc1ik-u
- # Note: you have to give your unix-host a *different* ip address as the wampes
- # (net) program. In my config dc1ik is 44.130.41.10, dc1ik-u (UNIX) is
- # 44.130.41.99
- #
- # for axip-encapsulation, not needed without internet-connecten
- # axip is just not tested in the real internet, pse mail comments and complaints
- # about this to jk04@dkauni2.bitnet (Olaf Erb)
- #
- #### attach axip
- #
- # ifconfig to set the interface's IP and ax25 addresses
- #
- if tty01 ip myipaddres
- if tty01 link myax25address
- #
- if tty02 ip 44.130.41.10
- if tty02 link dc1ik-1
- #
- # ip parms
- #
- # reasm-timeout
- #
- ip rt 50000
- # time-to-live
- #
- ip ttl 16
- #
- # tcp parms
- #
- tcp win 1024
- tcp irtt 12000
- #
- # 216 is maximum-segment-size for ax25
- #
- tcp mss 216
- #
- # Netrom-Parms
- #
- att net
- net link myax25address db0id 32 permanent
- #
- # IP-Routes via NET/ROM :-(
- route add db0tcp netrom
- route add db0qs netrom
- route add dg8fbv netrom
- route add hb9zz netrom
- #
- # ax25 routes, permanent = not reroutet or changed by autorouter
- #
- ax ro add permanent tty01 db0eq
- ax ro add permanent tty01 default
- ax ro add permanent tty01 db0id db0eq
- # this could be changed by connecting over an other path, but default route
- # to this calls is set here:
- ax ro add tty01 db0sao db0eq db0id
- ax ro add tty01 db0odw db0eq
- #
- #
- ax ro add permanent tty02 db0da
- ax ro add tty02 dg8fbv db0da
- #
- # arp's
- #
- arp add db0id ax25 db0id
- arp add db8us ax25 db8us
- arp add dg8fbv ax25 dg8fbv
- #
- # tcp routes
- #
- route add db0id tty01 db0id
- route add 44/8 tty01 db0id
- route add dl1it tty01 dl1it
- route add dg8fbv tty02 dg8fbv
- #
- #
- # start servers
- #
- start ax25
- start telnet
- start ftp
- start echo
- start discard
- start netrom
- #
- # udp
- #
- start remote
- remote -s exit_key
- #
- # ^^^^ with 'remote -k exit_key <host>' you may force a restart of net
- # rip seems to work, but it's needless because of the wampes-autorouter
- #
- # start rip
- #
- # settime-protocol, not needed (and not properly implementet on ISC :-()
- # start stime
- #
- # rip options
- #
- # rip add db8us 400
- #
- # netrom parms
- ### look in NET for parameters
- ### ('net parms')
- net p 1 10
- net p 2 100
- net p 3 64
- net p 6 120
- net p 7 7200
- net i "#IDENT"
- #
- # tcp-services
- ### tcpgate enables tcp-connections from unix->net, not like slattach, but
- ### just try and, and you'll see it :-)
- #
- ## finger
- start tcpgate finger *:79
- #
- ## tcpgate to convers-socket (to connect other Convers-Nodes via TCP)
- #
- start tcpgate 3600 *:3600
- #
- ## SMTP
- #
- start tcpgate smtp *:25
- #
- #
- ## this for POP-daemon, if enabled
- ## start tcpgate 109 *:109
- #
- ## nntp-server (not included with wampes, but you may find the src on some
- ## ftp-servers)
- #
- # start tcpgate 119 *:119
- #
- # smtp timer tick
- #
- sm timer 1200
- #
- # ax25 parms
- #
- # maxframe:
- #
- ax max 3
- #
- # pollthresh
- #
- ax pt 16
- #
- # paclen
- ax pac 256
- #
- ax t1 10000 # retrans timer
- ax t2 2000 # ack delay-timer
- ax t3 120000 # idle poll timer
- ax t4 40000 # busy timer
- ax t5 1000 # packet assembly timeout
- ax ret 20 # retries
- #
- #
- # kiss parms - txd, ppers, slottime
- #
- par tty01 1 28
- par tty01 2 80
- par tty01 3 30
- #
- par tty02 1 30
- par tty02 2 32
- par tty02 3 30
- # logging
- #
- # trace to multi-screen 2
- #
- tr tty01 111 /dev/vt02
- # no trace for if tty02
- #
- # tr tty02 111 /dev/vt03
- #
- # logging
- log /tcp/net.log
- #
- echo refuse
- #
- #
- # crc for use with SMACK (Enhanced KISS with CRC, by DL5UE. It discovers frame-
- # errors on the serial line between TNC and PC, so it's *error-free* !)
- # - ask me for the binary for tnc2.
- # if tty01 crc on
- # if tty02 crc on
- #
- # now ping some hosts
- ping db0id
- ping db7iz
- ping dl1it
- ping db8us
- ping db0sao
- #
- # the end.
- # Questions to jk04@dkauni2.bitnet
-